how to return multiple values from a function in c